﻿using SqlSugar;

namespace drinking.Models
{

    [SugarTable("Customer")]
    public class Customer
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int CustomerId { get; set; }


        /// <summary>
        /// 用户名称
        /// </summary>
        public string CustomerName { get; set; }

        [SugarColumn()]
        public string Phone { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
        /// <summary>
        /// openid
        /// </summary>
        public string Openid { get; set; }
        public string Token { get; set; }

        [SugarColumn(IsIgnore = true)]
        public DateTime LastAccessTime { get; set; }
    }
}
